package ooad.nextgen.gof.adapter;
import java.util.ArrayList;
import java.util.List;
import ooad.nextgen.gof.adapter.TaxMaster;
import ooad.nextgen.domain.Sale;
public class TaxMasterAdapter implements ITaxCalculatorAdapter { 
	private TaxMaster taxMaster;
	private List<TaxLineItems> taxLineItems = new ArrayList<TaxLineItems>();
	public TaxMasterAdapter(){
		this.taxMaster = new TaxMaster();
	}
	@Override
	public List<TaxLineItems> getTaxes(Sale sale) {	
		taxMaster.getTaxMasterTax(sale);
		return taxLineItems;
	}

}
